/**
 * 
 */
package co.edu.eam.iso.model;

import java.math.BigDecimal;
import java.util.Map;

import co.edu.eam.iso.enums.CharacteristicEnum;
import co.edu.eam.iso.enums.SubCharacteristicEnum;

/**
 * @author Giovanny Ramirez Blandon
 * @version 1.0
 */
public class Characteristic {
	
	private CharacteristicEnum characteristicEnum;
	private Map<SubCharacteristicEnum, SubCharacteristic> subcharacteristics;
	private BigDecimal weight;
	
	public CharacteristicEnum getCharacteristicEnum() {
		return characteristicEnum;
	}
	
	public void setCharacteristicEnum(CharacteristicEnum characteristicEnum) {
		this.characteristicEnum = characteristicEnum;
	}
	
	/**
	 * @return the subcharacteristics
	 */
	public Map<SubCharacteristicEnum, SubCharacteristic> getSubcharacteristics() {
		return subcharacteristics;
	}
	
	/**
	 * @param subcharacteristics the subcharacteristics to set
	 */
	public void setSubcharacteristics(
			Map<SubCharacteristicEnum, SubCharacteristic> subcharacteristics) {
		this.subcharacteristics = subcharacteristics;
	}
	
	public BigDecimal getWeight() {
		return weight;
	}
	
	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}
	
}
